package com.example.data.factory.entity.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author lhy
 * @since 2025-03-03
 */
@Getter
@Setter
@TableName("interface_param")
@ApiModel(value = "InterfaceParam对象", description = "")
public class InterfaceParam implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("接口参数id")
    @TableId(value = "param_id", type = IdType.AUTO)
    private Integer paramId;

    @ApiModelProperty("参数类型（1-输入参数，2-请求body，3-返回参数）")
    private Byte paramType;

    @ApiModelProperty("接口id")
    private Integer interfaceId;

    @ApiModelProperty(" 参数值")
    private String value;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty("更新时间")
    private LocalDateTime updateTime;
}
